<template>
  <el-button type="primary" @click="ck">头像截取插件</el-button>
</template>

<script setup>
import { ref, reactive, onMounted } from 'vue'
import cut from './HeadCapture'
// import cut from 'img-cut'

const ck = () => {
cut.start().then(res => {
    console.log(res);
  })
}
</script>


<style scoped lang='scss'>
div {
  position: absolute;
  visibility: hidden;
}
</style>